battery.htmlHTMLudog!cπùΔ¢πùΔ¢ÅÅHé Monkeybread Realbasic plugin - Documentation - Battery

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class Battery

class, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: A class about the battery state on a Powerbook.

BatteryVoltage as double

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: The current Voltage of the Battery.
Notes: Call the Update Method to update the values of this property.

Charging as Boolean

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Returns true if the battery is being charged.
Notes: Call the Update Method to update the values of this property.

Connected as Boolean

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Updates all the values of this class.

Connected as Boolean

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Returns true if the battery is being connected to a power supply.
Notes: Call the Update Method to update the values of this property.

ExpectedBatteryTime as Integer

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Calculates the exspected time till the battery will be empty.
Notes: Call the Update Method to update the values of this property.

MaximumBatteryTime as Integer

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Calculates the maximum time till the battery will be empty.
Notes: Call the Update Method to update the values of this property.

MinimumBatteryTime as Integer

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: Calculates the minimum time till the battery will be empty.
Notes: Call the Update Method to update the values of this property.

TimeUntilCharged as Integer

method, Battery So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Should work. Windows: does nothing.
Function: If the battery is charged this is the time till it's done.
Notes: Call the Update Method to update the values of this property.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ